import React,{useState} from 'react'
import { Row, Col, Divider,Space, Form, Input, } from 'antd';
export default function Index(props) {
    //设置用户查询的配置名称
    function onFinish(value){
      //单值查询存入仓库
        props.dispatch({type:"MDquery",md:value.name});

    }
    return (
       <>
       

       <Row gutter={16}>
      <Col className="gutter-row" span={2}>
        <div> <span>其他选项:</span></div>
      </Col>
      <Col className="gutter-row" span={6}>
        <div>
        <Form
                name="basic"
                labelCol={{ span: 8 }}
                wrapperCol={{ span: 16 }}
                onFinish={onFinish}
            
                  >
         <Form.Item
        label="配置名称"
        name="name">
        <Input  />
      </Form.Item>


        </Form>

        </div>
      </Col>
  
    </Row>
          
          

       
       </>
    )
}
